package com.multi.thread.chapter02.demo01;

public class ThreadB extends Thread {
	
	private Demo demo;

	public ThreadB(Demo demo) {
		this.demo = demo;
	}
	
	@Override
	public void run() {
		demo.add("b");
	}

}
